package cn.com.liuxiaoluxx.cloud.facade.utils;

import cn.com.liuxiaoluxx.cloud.facade.exception.CloudException;

/**
 * The type IntelliJ IDEA.
 * <p>
 *
 * @author liuxiaolu
 * @date 2020/9/17
 */
public class AssertUtil {
    public static void assertNotNull (Object obj, String msg) {
        if (obj == null) {
            throw new CloudException(msg);
        }
    }
}
